/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "销售订单详情信息")
public class CompSaleOrderDetailDTO implements Serializable {

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "id")
    private Long compId;

    /**
     * 销售订单id
     * isNullAble:0
     */
    @ApiModelProperty(value = "销售订单id")
    private Long saleOrderId;

    /**
     * 设备明细id
     * isNullAble:0
     */
    @ApiModelProperty(value = "设备明细id")
    private Long macScrewId;

    /**
     * 需求日期
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "需求日期")
    private Date needDate;

    /**
     * 数量
     * isNullAble:0
     */
    @ApiModelProperty(value = "数量")
    private Integer num;


}
